package com.chexiehui.jc.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class CarBriefliesInfo implements Serializable {
    private String Output;// (string, optional): 排量 ,
    private String GearBoxName;// (string, optional): 变速箱 ,
    private String OutputType;// (string, optional): 排放标准 ,
    private String SizeType;// (string, optional): 车型尺寸 ,
    private List<CarInfo> CarList;

    public String getOutput() {
        return Output == null ? "" : Output;
    }

    public void setOutput(String output) {
        Output = output;
    }

    public String getGearBoxName() {
        return GearBoxName == null ? "" : GearBoxName;
    }

    public void setGearBoxName(String gearBoxName) {
        GearBoxName = gearBoxName;
    }

    public String getOutputType() {
        return OutputType == null ? "" : OutputType;
    }

    public void setOutputType(String outputType) {
        OutputType = outputType;
    }

    public String getSizeType() {
        return SizeType == null ? "" : SizeType;
    }

    public void setSizeType(String sizeType) {
        SizeType = sizeType;
    }

    public String getTitle(){
        return getOutput() + "/" + getGearBoxName() + "/" + getOutputType() + "/" + getSizeType();
    }

    public List<CarInfo> getCarList() {
        return CarList == null ? CarList = new ArrayList<>() : CarList;
    }

    public void setCarList(List<CarInfo> carList) {
        CarList = carList;
    }
}
